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

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
No edit summary
m (11 revisions imported: moving this project here)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{page/code/class|ferreteria}}
{{page/code/class}}
<source lang=php>
<source lang=php>
abstract class cIORow {
abstract class cFieldRow {
     use tFieldClasses;
     use tFieldClasses;


Line 38: Line 38:
* '''file''': {{l/ferreteria/file|data/rows/base.php}}
* '''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/version|class|cFieldRowDisplay}} -- extended by WorkFerret; may be obsolete
** (A) '''{{l/ferreteria/class|cIORow_internal}}''' extends cIORow
** (A) {{l/version|class|cFieldRow_internal}}
** (A) '''{{l/ferreteria/class|cIORow_sourced}}''' extends cIORow
** (A) {{l/version|class|cFieldRow_sourced}}
** (A) {{l/version|class|cMakableFieldRow}}

Latest revision as of 16:42, 22 May 2022

Template:Page/code/class

abstract class cFieldRow {
    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() {
}