示例#1
0
文件: PsImg.php 项目: ilivanoff/www
 /**
  * Все допустимые расширения картинок
  * Array (jpg, jpeg, gif, png) 
  */
 public static function EXTS()
 {
     return is_array(self::$EXTS) ? self::$EXTS : (self::$EXTS = to_array_expand(self::$TYPE2EXT));
 }
示例#2
0
 /**
  * @covers PsImg::EXTS
  */
 public function testEXTS()
 {
     $this->assertTrue(is_array(PsImg::EXTS()));
     $this->assertNotEmpty(PsImg::EXTS());
 }