prototype
From SkyPHP
Profile Pages Using Prototype Class
Example:
<?
$pp = array(
'model' => 'mls_client',
'notes' => true,
'1-to-many' => array(
'mls_lead_email',
'mls_lead_buyer'
),
'many-to-many' => array(
'mls_client_person' => array(
'header' => 'My Favorite Contacts'
)
),
'template' => $template_file, // 'template' => false
'tabs' => array(
'My Profile' => '/admin/client/profile/' . IDE,
'My Properties' => '/admin/client/property/' . IDE
),
'tab_param' => array('div_class' => 'client_tabs'
),
'css' => array('/pages/admin/client/client.css'
),
);
prototype::profile_page( $pp );
?>
