| 1 | <?php |
||
| 12 | class Stencil_Installable_Versions { |
||
| 13 | /** |
||
| 14 | * Latest versions |
||
| 15 | * |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | private static $versions = array( |
||
| 19 | 'plugins' => array( |
||
| 20 | 'stencil' => '1.0.0', |
||
| 21 | 'stencil-dwoo2' => '1.0.0', |
||
| 22 | 'stencil-mustache' => '1.0.0', |
||
| 23 | 'stencil-savant3' => '1.0.0', |
||
| 24 | 'stencil-smarty2' => '1.0.0', |
||
| 25 | 'stencil-smarty3' => '1.0.0', |
||
| 26 | 'stencil-twig' => '1.0.0', |
||
| 27 | ), |
||
| 28 | 'themes' => array( |
||
| 29 | 'dwoo2' => '1.0.0', |
||
| 30 | 'mustache' => '1.0.0', |
||
| 31 | 'savant' => '1.0.0', |
||
| 32 | 'smarty' => '1.0.0', |
||
| 33 | 'twig' => '1.0.0', |
||
| 34 | ), |
||
| 35 | ); |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get version for installable |
||
| 39 | * |
||
| 40 | * @param Stencil_Installable_Interface $installable Installable to get version of. |
||
| 41 | * |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public static function get( Stencil_Installable_Interface $installable ) { |
||
| 61 | } |
||
| 62 |