Ejemplo n.º 1
0
 public static function define_other_properties()
 {
     return array('statusname' => array('type' => PARAM_RAW), 'isbasedontemplate' => array('type' => PARAM_BOOL), 'canmanage' => array('type' => PARAM_BOOL), 'canrequestreview' => array('type' => PARAM_BOOL), 'canreview' => array('type' => PARAM_BOOL), 'canbeedited' => array('type' => PARAM_BOOL), 'isactive' => array('type' => PARAM_BOOL), 'isdraft' => array('type' => PARAM_BOOL), 'iscompleted' => array('type' => PARAM_BOOL), 'isinreview' => array('type' => PARAM_BOOL), 'iswaitingforreview' => array('type' => PARAM_BOOL), 'isreopenallowed' => array('type' => PARAM_BOOL), 'iscompleteallowed' => array('type' => PARAM_BOOL), 'isunlinkallowed' => array('type' => PARAM_BOOL), 'isrequestreviewallowed' => array('type' => PARAM_BOOL), 'iscancelreviewrequestallowed' => array('type' => PARAM_BOOL), 'isstartreviewallowed' => array('type' => PARAM_BOOL), 'isstopreviewallowed' => array('type' => PARAM_BOOL), 'isapproveallowed' => array('type' => PARAM_BOOL), 'isunapproveallowed' => array('type' => PARAM_BOOL), 'duedateformatted' => array('type' => PARAM_TEXT), 'commentarea' => array('type' => comment_area_exporter::read_properties_definition()), 'reviewer' => array('type' => user_summary_exporter::read_properties_definition(), 'optional' => true), 'template' => array('type' => template_exporter::read_properties_definition(), 'optional' => true), 'url' => array('type' => PARAM_URL));
 }