Strata\I18n\WpCode

Class to lookup Gettext strings from PHP files that are coded using the slightly different Wordpress translation scheme.

    Synopsis

    class WpCode extends PhpCode {
    }

    Hierarchy

    Extends

    • Gettext\Extractors\PhpCode

    Members

    public

    • $functions — array
      These functions behave like the general Gettext implementation. We let them fall back to the default behavior.
    • $wp_functions — array
      These functions have been "Wordpressed" -- meaning parameters may not be in the same order as the default Gettext functions.

    Methods

    public