Ferreteria/v0.3/class/cFieldRow: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(Created page with "<source lang=php> abstract class cIORow { use tFieldClasses; public function SetFields(array $ar) { public function ClearFields() { protected function GetFiel...") |
m (11 revisions imported: moving this project here) |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{page/code/class}} | |||
<source lang=php> | <source lang=php> | ||
abstract class | abstract class cFieldRow { | ||
use tFieldClasses; | use tFieldClasses; | ||
Line 35: | Line 36: | ||
public function DumpFields() { | public function DumpFields() { | ||
}</source> | }</source> | ||
* '''file''': | * '''file''': {{l/ferreteria/file|data/rows/base.php}} | ||
* '''extended by''': | * '''extended by''': | ||
** | ** {{l/version|class|cFieldRowDisplay}} -- extended by WorkFerret; may be obsolete | ||
** (A) | ** (A) {{l/version|class|cFieldRow_internal}} | ||
** (A) | ** (A) {{l/version|class|cFieldRow_sourced}} | ||
** (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