*/
public function setId( $id ) {
$this->setField( 'id', $id );
*/
public function setId( $id ) {
$this->setField( 'id', $id );
*/
public function hasField( $name ) {
return array_key_exists( $name, $this->fields );
*/
public function hasField( $name ) {
return array_key_exists( $name, $this->fields );
*/
public function hasIdField() {
return $this->hasField( 'id' ) && !is_null( $this->getField( 'id' ) );
*/
public function hasIdField() {
return $this->hasField( 'id' ) && !is_null( $this->getField( 'id' ) );
*/
public function setFields( array $fields, $override = true ) {
foreach ( $fields as $name => $value ) {
*/
public function setFields( array $fields, $override = true ) {
foreach ( $fields as $name => $value ) {
*/
public function loadDefaults( $override = true ) {
$this->setFields( $this->table->getDefaults(), $override );
*/
public function loadDefaults( $override = true ) {
$this->setFields( $this->table->getDefaults(), $override );
*/
protected function saveExisting( $functionName = null ) {
$dbw = $this->table->getWriteDbConnection();
*/
protected function saveExisting( $functionName = null ) {
$dbw = $this->table->getWriteDbConnection();
*/
protected function insert( $functionName = null, array $options = null ) {
$dbw = $this->table->getWriteDbConnection();
*/
protected function insert( $functionName = null, array $options = null ) {
$dbw = $this->table->getWriteDbConnection();
*/
public function addToField( $field, $amount ) {
return $this->table->addToField( $this->getUpdateConditions(), $field, $amount );
*/
public function addToField( $field, $amount ) {
return $this->table->addToField( $this->getUpdateConditions(), $field, $amount );