Ferreteria/v0.3/class/cFieldRow: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(tidying) |
m (11 revisions imported: moving this project here) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{page/code/class | {{page/code/class}} | ||
<source lang=php> | <source lang=php> | ||
abstract class cFieldRow { | abstract class cFieldRow { | ||
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/ | ** {{l/version|class|cFieldRowDisplay}} -- extended by WorkFerret; may be obsolete | ||
** (A) {{l/ | ** (A) {{l/version|class|cFieldRow_internal}} | ||
** (A) {{l/ | ** (A) {{l/version|class|cFieldRow_sourced}} | ||
** (A) {{l/ | ** (A) {{l/version|class|cMakableFieldRow}} |
Latest revision as of 16:42, 22 May 2022
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() {
}
- file: Template:L/ferreteria/file
- extended by:
- Template:L/version -- extended by WorkFerret; may be obsolete
- (A) Template:L/version
- (A) Template:L/version
- (A) Template:L/version