本文整理汇总了PHP中Textile::usage方法的典型用法代码示例。如果您正苦于以下问题:PHP Textile::usage方法的具体用法?PHP Textile::usage怎么用?PHP Textile::usage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Textile
的用法示例。
在下文中一共展示了Textile::usage方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: DAMAGES
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
$plugin_info = array('pi_name' => 'Textile', 'pi_version' => '2.0.1', 'pi_author' => 'Dean Allen', 'pi_author_url' => 'http://textism.com/tools/textile/', 'pi_description' => 'A Humane Web Text Generator', 'pi_usage' => Textile::usage());
// define these before including this file to override the standard glyphs
@define('txt_quote_single_open', '‘');
@define('txt_quote_single_close', '’');
@define('txt_quote_double_open', '“');
@define('txt_quote_double_close', '”');
@define('txt_apostrophe', '’');
@define('txt_prime', '′');
@define('txt_prime_double', '″');
@define('txt_ellipsis', '…');
@define('txt_emdash', '—');
@define('txt_endash', '–');
@define('txt_dimension', '×');
@define('txt_trademark', '™');
@define('txt_registered', '®');
@define('txt_copyright', '©');