Skip to content

Releases: EFTEC/BladeOne

3.38

20 Apr 13:01
Compare
Choose a tag to compare

2020-04-20 3.38

  • new feature: named arguments (the method must support it to use)
  • new method wrapPHP() used internally
  • new method enq() It's equals than e() but it doesn't encode quotes
  • new method stripQuotes() It removes quotes from a string "aaa"=>aaa, 'aaa'=>aaa
  • new method addInsideQuote() It adds a string inside a quote (if any)
  • new method isQuoted() Returns true if the text is quoted
  • BladeOneHtml is deprecated (but not deleted) use instead eftec\bladeonehtml
  • BladeOneHtmlBootstrap is deprecated (but not deleted) use instead eftec\bladeonehtml

3.37

10 Mar 15:35
Compare
Choose a tag to compare
  • 2020-03-10 3.37
    • new tag @compilestamp() shows the date and time where the template was compiled.
    • new tag @viewname() shows the current view template, compile filename or template filename

3.36.2

28 Feb 13:53
Compare
Choose a tag to compare
  • 2020-02-28 3.36.2
    • @splitforeach a fix.

3.36.1

28 Feb 12:55
Compare
Choose a tag to compare

See readme.md

3.36

19 Feb 13:53
Compare
Choose a tag to compare

2020-02-19 3.36

  • removed compileExpression() // it was never used
  • solved csrfIsValid() when it is compile with mode BladeOne::MODE_FAST
  • @csrf tag it has a new argument (name of the token)
    * @csrf('_mytag')
  • method csrfIsValid has a new argument (name of the token)
    * $ blade->csrfIsValid(true,'_mytag');

3.35

15 Feb 14:46
Compare
Choose a tag to compare
  • 2020-02-15 3.35
    • Added a new argument optional for csrfIsValid()

3.34

27 Jan 15:07
Compare
Choose a tag to compare
  • 2020-01-17 3.34
    • It allows to calls a static method inside a class
    • See section Calling a static methods inside the template.
    • new field $aliasClasses
    • new method getAliasClasses()
    • new method setAliasClasses()
    • new method addAliasClasses()
    • new method compileUse()
    • new method compileStatementClass()
    • new method fixNamespaceClass()

3.33

21 Dec 12:33
Compare
Choose a tag to compare
  • 2019-12-21 3.33
    • For #99 Fixed missingTranslation(). Also some cleanups.

3.32

21 Dec 12:04
Compare
Choose a tag to compare
  • 2019-12-21 3.32
    • For #96 added $loop->even and $loop->odd and $loop->iteration
    • Also, $loop->index now starts with 0 instead of 1

3.31

09 Aug 13:29
Compare
Choose a tag to compare
  • 2019-08-09 3.31 The operations _e(), _n() and _ef() used for language are now integrated on BladeOne.
    So we don't need BladeOneLang anymore.