Textpattern PHP Cross Reference Content Management Systems

Source: /textpattern/vendors/Textpattern/Textpack/StringInterface.php - 90 lines - 1682 bytes - Summary - Text - Print

   1  <?php
   2  
   3  /*
   4   * Textpattern Content Management System
   5   * http://textpattern.com
   6   *
   7   * Copyright (C) 2016 The Textpattern Development Team
   8   *
   9   * This file is part of Textpattern.
  10   *
  11   * Textpattern is free software; you can redistribute it and/or
  12   * modify it under the terms of the GNU General Public License
  13   * as published by the Free Software Foundation, version 2.
  14   *
  15   * Textpattern is distributed in the hope that it will be useful,
  16   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18   * GNU General Public License for more details.
  19   *
  20   * You should have received a copy of the GNU General Public License
  21   * along with Textpattern. If not, see <http://www.gnu.org/licenses/>.
  22   */
  23  
  24  namespace Textpattern\Textpack;
  25  
  26  /**
  27   * Textpack string template.
  28   *
  29   * @since   4.6.0
  30   * @package Textpack
  31   */
  32  
  33  interface StringInterface
  34  {
  35      /**
  36       * Gets the name of the string.
  37       *
  38       * @return string
  39       */
  40  
  41      public function getName();
  42  
  43      /**
  44       * Gets the language.
  45       *
  46       * @return string
  47       */
  48  
  49      public function getLanguage();
  50  
  51      /**
  52       * Gets the translation string contents.
  53       *
  54       * @return string
  55       */
  56  
  57      public function getString();
  58  
  59      /**
  60       * Gets the event.
  61       *
  62       * @return string
  63       */
  64  
  65      public function getEvent();
  66  
  67      /**
  68       * Gets the owner.
  69       *
  70       * @return string
  71       */
  72  
  73      public function getOwner();
  74  
  75      /**
  76       * Gets the version.
  77       *
  78       * @return string
  79       */
  80  
  81      public function getVersion();
  82  
  83      /**
  84       * Gets the last modification timestamp.
  85       *
  86       * @return int
  87       */
  88  
  89      public function getLastmod();
  90  }

title

Description

title

Description

title

Description

title

title

Body