Source for file jISelector.iface.php
Documentation is available at jISelector.iface.php
- <?php
- /**
- * a selector is a string refering to a file or a ressource, by indicating its module and its name.
- * For example : "moduleName~resourceName". There are several type of selector, depending on the
- * resource type. Selector objects get the real path of the corresponding file, the name of the
- * compiler (if the file has to be compile) etc.
- * So here, there is a selector class for each selector type.
- * @package jelix
- * @subpackage core_selector
- * @author Laurent Jouanneau
- * @contributor Christophe Thiriot
- * @copyright 2005-2008 Laurent Jouanneau, 2008 Christophe Thiriot
- * @link http://www.jelix.org
- * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
- */
-
-
- /**
- * interface of selector classes
- * @package jelix
- * @subpackage core_selector
- */
- interface jISelector {
- /**
- * @return string file path corresponding to the resource pointing by the selector
- */
- public function getPath ();
- /**
- * @return string file path of the compiled file (if the main file should be compiled by jelix)
- */
- public function getCompiledFilePath ();
- /**
- * @return jICompiler the compiler used to compile file
- */
- public function getCompiler();
- /**
- * @return boolean true if the compiler compile many file at one time
- */
- public function useMultiSourceCompiler();
- /**
- * @param boolean $full true if you want a full selector ("type:...")
- * @return string the selector
- */
- public function toString($full=false);
- }
Documentation generated on Mon, 19 Sep 2011 14:13:12 +0200 by phpDocumentor 1.4.3