table->search($this->_primaryKey, 'stsLoginCode'); } public function getStsLoginEnabled() { return $this->table->search($this->_primaryKey, 'stsLoginEnabled'); } public function updateStsLoginCode($code) { $data = array( 'stsLoginCode' => $code ); $this->table->updateByKey($data, $this->_primaryKey); return $this; } }