/**
  * Get default styling
  *
  * @param bool $cache Cache results
  *
  * @return array
  */
 function getDefaultProperties($cache = true)
 {
     if ($cache && $this->_default_properties !== null) {
         return $this->_default_properties;
     }
     return $this->_default_properties = CExClassFieldProperty::getDefaultPropertiesFor($this);
 }
 * $Id$
 *
 * @package    Mediboard
 * @subpackage forms
 * @author     SARL OpenXtrem <*****@*****.**>
 * @license    GNU General Public License, see http://www.gnu.org/licenses/gpl.html
 * @version    $Revision$
 */
CCanDo::checkEdit();
$object_class = CValue::get("object_class");
$object_id = CValue::get("object_id");
$ex_field_property_id = CValue::get("ex_field_property_id");
$opener_field_value = CValue::get("opener_field_value");
$opener_field_view = CValue::get("opener_field_view");
CExObject::$_locales_cache_enabled = false;
$ex_field_property = new CExClassFieldProperty();
if (!$ex_field_property->load($ex_field_property_id)) {
    $ex_field_property->object_id = $object_id;
    $ex_field_property->object_class = $object_class;
}
$ex_field_property->loadTargetObject();
$predicate = $ex_field_property->loadRefPredicate();
if ($predicate) {
    $predicate->loadView();
}
$ex_class = $ex_field_property->_ref_object->loadRefExClass();
$smarty = new CSmartyDP();
$smarty->assign("ex_field_property", $ex_field_property);
$smarty->assign("ex_class", $ex_class);
$smarty->assign("opener_field_value", $opener_field_value);
$smarty->assign("opener_field_view", $opener_field_view);