Ferreteria/v0.3/class/cFieldRow: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
m (redundant arg)
No edit summary
Line 36: Line 36:
     public function DumpFields() {
     public function DumpFields() {
}</source>
}</source>
* '''file''': <code>/data/rows/base.php</code>
* '''file''': {{l/ferreteria/file|data/rows/base.php}}
* '''extended by''':
* '''extended by''':
** '''{{l/ferreteria/class|cIORowDisplay}}''' extends cIORow -- extended by WorkFerret; may be obsolete
** '''{{l/ferreteria/class|cIORowDisplay}}''' extends cIORow -- extended by WorkFerret; may be obsolete
** (A) '''{{l/ferreteria/class|cIORow_internal}}''' extends cIORow
** (A) '''{{l/ferreteria/class|cIORow_internal}}''' extends cIORow
** (A) '''{{l/ferreteria/class|cIORow_sourced}}''' extends cIORow
** (A) '''{{l/ferreteria/class|cIORow_sourced}}''' extends cIORow

Revision as of 21:23, 29 December 2018

Template:Page/code/class

abstract class cIORow {
    use tFieldClasses;

    public function SetFields(array $ar) {
    public function ClearFields() {
    protected function GetFields() {
    protected function SetField(cIOField $oField) {
    protected function ZapField($sKey) {
    protected function RetrieveField($sKey) {
    // PURPOSE: RetrieveField() but throw exception if not found
    public function GetExistingField($sKey) {
    // PURPOSE: sets an individual value
    public function SetValue($sKey, $val) {
    public function GetValue($sKey) {
    public function GetValueNz($sKey,$def=NULL) {
    // PURPOSE: sets individual values from an array
    public function SetValues(array $ar) {
    public function FieldIsSet($sKey) { // retrieves field object, checks to see if it has a value set
    protected function MakeField($sKey) {
    public function GetNativePortals() {
        return new cPortalRow_native($this);
    }
    public function GetStoragePortals() {
        return new cPortalRow_storage($this);
    }
    
    // TO BE ADAPTED
    
    /*----
      RETURNS: array[control name] = rendering of control
    */
    public function RenderControls($doEdit) {

    public function DumpFields() {
}