MediaWiki  REL1_22
IORMRow.php
Go to the documentation of this file.
00001 <?php
00034 interface IORMRow {
00035 
00048     public function loadFields( $fields = null, $override = true, $skipLoaded = false );
00049 
00061     public function getField( $name, $default = null );
00062 
00073     public function loadAndGetField( $name );
00074 
00082     public function removeField( $name );
00083 
00091     public function getId();
00092 
00100     public function setId( $id );
00101 
00111     public function hasField( $name );
00112 
00120     public function hasIdField();
00121 
00130     public function setFields( array $fields, $override = true );
00131 
00143     public function toArray( $fields = null, $incNullId = false );
00144 
00153     public function loadDefaults( $override = true );
00154 
00166     public function save( $functionName = null );
00167 
00176     public function remove();
00177 
00185     public function getFields();
00186 
00194     public function getSetFieldNames();
00195 
00208     public function setField( $name, $value );
00209 
00221     public function addToField( $field, $amount );
00222 
00230     public function getFieldNames();
00231 
00240     public function loadSummaryFields( $summaryFields = null );
00241 
00250     public function setUpdateSummaries( $update );
00251 
00260     public function setSummaryMode( $summaryMode );
00261 
00270     public function getTable();
00271 
00272 }