Exemple #1
0
 /**
  * Factory new image style.
  * 
  * @static
  * @access	public
  * @param	string	$sPath
  * @return	\Image\ImageStyle
  * @since	1.0.0, 2014-07-13
  * @version	1.1.0, 2014-07-15
  */
 public static function factory($sPath, $sStyle = NULL)
 {
     if ($sStyle === NULL) {
         new ImageStyle($sPath);
     } else {
         $oImageStyle = new ImageStyle($sPath, $sStyle);
         return $oImageStyle->apply($sStyle);
     }
 }
 public static function IsValidImageStyle($_Ihhcc327yze1hmek)
 {
     $_0ve6nlv9sin57gyg1f6lv = ImageStyle::TryGetName($_Ihhcc327yze1hmek);
     return !empty($_0ve6nlv9sin57gyg1f6lv);
 }
 public static function IsValidImageStyle($_Iajbz7bedf2pfubr58y3r)
 {
     $_i4wkwhiss69l15bwihh2mf7o94 = ImageStyle::TryGetName($_Iajbz7bedf2pfubr58y3r);
     return !empty($_i4wkwhiss69l15bwihh2mf7o94);
 }
 public static function IsValidImageStyle($_Oo3jaun70e0tpb3bcyoqb)
 {
     $_ohxc29r7nq5fj5ijsi9khmrhrz = ImageStyle::TryGetName($_Oo3jaun70e0tpb3bcyoqb);
     return !empty($_ohxc29r7nq5fj5ijsi9khmrhrz);
 }
 public static function IsValidImageStyle($_054oy64zj7h4fdrl5n9fb36ajw)
 {
     $_1buhz5zp3tboclrpolaz7 = ImageStyle::TryGetName($_054oy64zj7h4fdrl5n9fb36ajw);
     return !empty($_1buhz5zp3tboclrpolaz7);
 }