2017 © Pedro Peláez
 

library phalcon-xslt-view-engine

Adapter to use XSLT as templating engine for Phalcon PHP framework

image

racztiborzoltan/phalcon-xslt-view-engine

Adapter to use XSLT as templating engine for Phalcon PHP framework

  • Saturday, March 19, 2016
  • by racztiborzoltan
  • Repository
  • 2 Watchers
  • 2 Stars
  • 87 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

phalcon-xslt-view-engine

Adapter to use XSLT as templating engine for Phalcon PHP framework, (*1)

Usages in test directory., (*2)

Example

$di->set('view', function () {
    // ...  
    $view->registerEngines(array(
        '.xsl' => '\Z\Phalcon\Mvc\View\Engine\XSLT',
        //
        // OR:
        //
        '.xsl' => function ($view, $di) {
            $engine = new XSLT($view, $di);
            $engine->setOptions(array(
                'phpFunctions' => array(
                    'ucfirst'
                ),
            ));
            return $engine;
        }
    ));
    // ...  
    return $view;
}, true);

License

Released under MIT license., (*3)

CHANGELOG

v1.x

  • The past ...

v2.0.0

  • code cleaning, easing
    • remove Phalcon 1.x compatibility
    • remove events from XSLT View Engine
    • remove 'defaultParameters' option
    • removed methods:
      • ...\XSLT->mergeParameters()
      • ...\XSLT->getMustClean()
      • ...\XSLT->setMustClean()
      • ...\XSLT->getClean()
      • ...\XSLT->setClean()
      • ...\XSLT->getPath()
      • ...\XSLT->setPath()
      • ...\XSLT->getParameters()
      • ...\XSLT->setParameters()
      • ...\XSLT->removeParameters()
      • ...\XSLT->getXMLPath()
      • ...\XSLT->setXMLPath()
      • ...\XSLT->setXMLDom()
      • ...\XSLT->getInstanceId()
      • ...\XSLT->getInstance()
    • removed properties
      • ...\XSLT->_mustclean
      • ...\XSLT->_eventsManager
      • ...\XSLT->_path
      • ...\XSLT->_parameters
      • ...\XSLT->_content
      • ...\XSLT->_xml_path
      • ...\XSLT::$_instances
      • ...\XSLT->_instanceId
      • ...\XSLT->_xmldoc
    • simpler rendering
    • simple xml debug option
  • new methods:
    • ...\XSLT::createXmlFromArray()

The Versions

19/03 2016

dev-master

9999999-dev

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

19/03 2016

v2.0.0

2.0.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

28/04 2015

v1.4.0

1.4.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

02/07 2014

v1.3.3

1.3.3.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

13/04 2014

v1.3.2

1.3.2.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

09/04 2014

v1.3.1

1.3.1.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

phalcon xslt template-engine view-engine

07/04 2014

v1.3.0

1.3.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

07/04 2014

v1.2.1

1.2.1.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

07/04 2014

v1.2.0

1.2.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

03/04 2014

v1.1.0

1.1.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

02/04 2014

v1.0.2

1.0.2.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

26/03 2014

v1.0.1

1.0.1.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán

26/03 2014

v1.0.0

1.0.0.0

Adapter to use XSLT as templating engine for Phalcon PHP framework

  Sources   Download

BSD-3-Clause

by Rácz Tibor Zoltán