-
An implementation of PHP 5’s __call magic method, to allow field objects to call unknown methods directly.
-
An implementation of PHP 5’s __get magic method, to allow field objects to access unknown properties directly.
-
An implementation of PHP 5’s __set magic method, to allow unknown field properties to be set directly.
-
An implementation of PHP 5’s __toString magic method, to allow this field to be echoed directly.
-
Checks if the field is empty or non-existent.
-
This method’s behaviour depends on the type of field you’re dealing with.
-
Gets an associative array of raw data contained in this field.
-
Output the raw data contained in this field, for debugging purposes.
-
Check that this field does indeed exist, in the sense that it is a defined field against the set or object it is requested from.
-
Returns a supplied fallback value if this field is blank or does not exist.
-
A shorthand synonym for the fallback method.
-
Returns the name of this field.
-
Retrieves the MEOW_FieldSet object that contains this field.
-
Retrieves the MEOW_FieldSetCollection object that contains this field.
-
info()MPM_Field
Returns a model object containing information about the definition of this field.
-
Checks whether or not this field is editable for the current user, based on the current user’s capabilities.
-
A synonym for the blank method to check if the value of this field is empty (not specified).
-
A function used internally to allow this field to be directly iterated over by forwarding the call on to the field type delegate object.
-
An internal function used to mark this field as dirty (updated in some way).
-
Retrieves the WordPress object associated with this field, whether this is a post, (taxonomy) term, user, or a site.
-
An implementation of the offsetExists method in PHP’s ArrayAccess interface.
-
An implementation of the offsetGet method in PHP’s ArrayAccess interface.
-
Returns a supplied fallback value if this field is blank or does not exist.
-
Either get or set a named property associated with this field type, or retrieve an associative array of all properties and values if the $name argument is not provided.
-
Get the raw value of a field type property. A property in this case is not a standard PHP object property, but rather a meta property that further clarifies the value of this field.
-
Get the raw value of a field type property. A property in this case is not a standard PHP object property, but rather a meta property that further clarifies the value of this field.
-
Retrieve the raw unprocessed value of the field.
-
Retrieve the current set index for this field.
-
Sets the value of the field.
-
Updates the database with with any changes made by any methods that can update the field, which are: val, value, prop, __set.
-
val( $value = null )Mixed
A shorthand synonym for the value method, to retrieve the value of the field.
-
Returns the value of the field, as determined by the field type.Important: the _toString PHP magic method handles direct echoing of field values out to your templates by simply echoing the a MEOW_Field object directly, but this automatic conversion to a string does NOT happen when using the value of a field as a variable in an expression.