fixAllowedTypes() 공개 정적인 메소드

public static fixAllowedTypes ( $data, $type )
예제 #1
0
 /**
  * @param array $assetTypes
  * @return $this
  */
 public function setAssetTypes($assetTypes)
 {
     $this->assetTypes = Element\Service::fixAllowedTypes($assetTypes, "assetTypes");
     return $this;
 }
예제 #2
0
 /**
  * @param array $classes
  * @return $this
  */
 public function setClasses($classes)
 {
     $this->classes = Element\Service::fixAllowedTypes($classes, "classes");
     return $this;
 }