Emma PHP :: Field Functions

The field functions are used to create/remove/edit fields, and update field types. You can also retrieve lists of fields, and detailed information on individual fields.

Retrieve the details for a single field in Emma.

Arguments: 

  • bool $deleted - (Optional) Retrieve the field details even if it is marked as deleted. Defaults to false.

Use:


require_once('../../MyEmmaPHP.php');

try {

	$me = new MyEmmaPHP();
  
	$retval = $me->getField(12644, true);
	print_r($retval);
		    
} catch ( Exception $e ) {
    echo $e->getMessage() . "\n\n";
}


Wrapper for: get_field

Retrieve a list of all the fields in an account in Emma.

Arguments: 

  • bool $deleted - (Optional) Retrieve fields marked as deleted. Defaults to false.

Use:


require_once('../../MyEmmaPHP.php');

try {

	$me = new MyEmmaPHP();
  
	$retval = $me->getFieldList();
	print_r($retval);
		    
} catch ( Exception $e ) {
    echo $e->getMessage() . "\n\n";
}



Wrapper for: get_field_list

Keep in Touch

Contact Us

Buzz

Loading...

People talking about '@synergycode':