���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/includes/media/FakeDimensionFile.php
���ѧ٧ѧ�
<?php class FakeDimensionFile extends File { public $mustRender = false; public $mime; public $dimensions; public function __construct( $dimensions, $mime = 'unknown/unknown' ) { parent::__construct( Title::makeTitle( NS_FILE, 'Test' ), new NullRepo( null ) ); $this->dimensions = $dimensions; $this->mime = $mime; } public function getWidth( $page = 1 ) { return $this->dimensions[0]; } public function getHeight( $page = 1 ) { return $this->dimensions[1]; } public function mustRender() { return $this->mustRender; } public function getPath() { return ''; } public function getMimeType() { return $this->mime; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�