Rechercher "markup" - page 6 sur 8

  1. Templix Template Engine - RedCat PHP Framework #plugin-t
    https://fr.redcatphp.com/templix-template-engine#plugin-t
    vars The vars markup will look for a "vars.$name.php" file in the template include path(s). This file will be included as dynamic but the variables it makes can also be incorpored as static content adding it the shortcut attribute "static".
  2. Templix Template Engine - RedCat PHP Framework #method-getin ...
    https://redcatphp.com/templix-template-engine#method-getinde ...
    clear The clear method erase head, inner head, children nodes, inner foot, foot, previous sibling, next sibling, detach itself from the next and previous flow and set hiddenWrap to hide markup opener and closer output.
  3. Templix Template Engine - RedCat PHP Framework #method-getin ...
    https://redcatphp.com/templix-template-engine#method-getinne ...
    head The head method unshift a raw content or source code to the head of the node, before opening markup. A second parameter can be used to specify a splice index. If the splice index is true the raw content will be pushed instead of unshifted.
  4. Templix Template Engine - RedCat PHP Framework #method-tostr ...
    https://redcatphp.com/templix-template-engine#method-tostrin ...
    foot The foot method push a raw content or source code to the foot of the node, after closing markup. A second parameter can be used to specify a splice index. If the splice index is true the raw content will be unshifted instead of pushed. $node->head('<?php echo time();?>');$node->head($raw,2);$node->head...
  5. Templix Template Engine - RedCat PHP Framework #method-clear
    https://redcatphp.com/templix-template-engine#method-clear
    innerHead The innerHead method unshift a raw content or source code to the inner head of the node, after opening markup. A second parameter can be used to specify a splice index. If the splice index is true the raw content will be pushed instead of unshifted.
  6. Templix Template Engine - RedCat PHP Framework #method-clear ...
    https://redcatphp.com/templix-template-engine#method-clearin ...
    innerFoot The innerFoot method push a raw content or source code to the inner foot of the node, before closing markup. A second parameter can be used to specify a splice index. If the splice index is true the raw content will be unshifted instead of pushed. $node->innerFoot('<?php echo time();?>');$node->innerFoot($raw,2);$node->...
  7. Templix Template Engine - RedCat PHP Framework #method-foot
    https://redcatphp.com/templix-template-engine#method-foot
    ...passing meta-data in a node with the urlencoded key-value pairs "tmp-attr" attribute. This attribute is a visible attribute working with not "hiddenWrap" nodes (visible opening and closing markup), but they will be removed automaticaly just before the end of global compilation. It will be a getter with one argument and a setter with two arguments. $node->...
  8. Templix Template Engine - RedCat PHP Framework #method-inner ...
    https://redcatphp.com/templix-template-engine#method-innerhe ...
    removeAttr The removeAttr method remove an attribute from opening markup of node.
  9. Templix Template Engine - RedCat PHP Framework #method-inner ...
    https://redcatphp.com/templix-template-engine#method-innerfo ...
    ...to its order in attributes. The first argument specify the key to add and the second argument the index of shortcut, starting with zero. The index is zero by default. class Mynode extend \RedCat\Templix\Markup{    function load(){        $this->remapAttr('src');        $this->remapAttr('async',1);        $src = $this->src;        $async = $this->async;    )}            
  10. Templix Template Engine - RedCat PHP Framework #method-__iss ...
    https://redcatphp.com/templix-template-engine#method-__isset
    Attribute Plugins Some attributes trigger special behaviors injections and then becomes unvisible. The way to implements an attribute trigger function to a markup is to implements a method which will be named with load prefix followed by upper case first character of attribute name. The hyphen "-" in attribute name will be replaced by underscore "_" in method name. If you...
  11. Templix Template Engine - RedCat PHP Framework #method-__inv ...
    https://redcatphp.com/templix-template-engine#method-__invok ...
    cacheSync The cacheSync attribute is used with a sync path. The content of the markup will be cached and regenered only if its modified time is older than the modified time of the sync path. <ul cacheSync="tracks"><foreach "$model->getTracks() as $k=>$v">    <li><?=$k?>:<?=$v?><...
  12. Templix Template Engine - RedCat PHP Framework #attribute-pl ...
    https://redcatphp.com/templix-template-engine#attribute-plug ...
    cacheStatic The cacheStatic attribute is used as shortcut attribute to cache indefinitely the content of the markup.
  13. Templix Template Engine - RedCat PHP Framework #attr-vars
    https://redcatphp.com/templix-template-engine#attr-vars
    Markup Plugins:
  14. Templix Template Engine - RedCat PHP Framework #plugin-apply
    https://redcatphp.com/templix-template-engine#plugin-apply
    attrappend The attrappend markup have to be used at first level inside <extend> or in ".tpl" with apply. It will append its attributes to its selector targeted node(s) attributes. <extend>    <attrappend "img.my-logo" alt=" - Me"></extend>            
  15. Templix Template Engine - RedCat PHP Framework #plugin-attr
    https://redcatphp.com/templix-template-engine#plugin-attr
    attrprepend The attrprepend markup have to be used at first level inside <extend> or in ".tpl" with apply. It will prepend its attributes to its selector targeted node(s) attributes.
Retour à l'accueil