예제 #1
0
 /**
  * Renders the element widget returning html
  *
  * @param array|null $attributes
  * @return string
  * @throws Exception
  */
 public function render($attributes = null)
 {
     if (is_array($attributes) === false && is_null($attributes) === false) {
         throw new Exception('Invalid parameter type.');
     }
     return Tag::dateField($this->prepareAttributes($attributes));
 }
예제 #2
0
 public static function dateField($parameters)
 {
     if (self::isAbFormField($parameters)) {
         $view = KxApplication::current()->view;
         $itemViewMode = $view->getVar('itemViewMode');
         return AbTag::formDateField($parameters, $itemViewMode);
     }
     return Tag::dateField($parameters);
 }
예제 #3
0
파일: Tag.php 프로젝트: mattvb91/cphalcon
 public static function dateField($parameters)
 {
     return parent::dateField($parameters);
 }