Code Search for Developers
 
 
  

Text.php from Astrum Futura at Krugle


Show Text.php syntax highlighted

<?php

/**
 * Extra config settings:-
 * 'width'     : Width (in characters) of output
 * 'inset'     : Inset width (in characters) of section properties
 * 'eol'       : End of line character (defaults to LF)
 * 'underline' : The string used to underline the heading
 * 'delimiter' : The string used between the property and the value
 *
 */
define('ZF_ENVIRONMENT_WIDTH',      80);
define('ZF_ENVIRONMENT_INSET',      5);
define('ZF_ENVIRONMENT_EOL',        "\n");
define('ZF_ENVIRONMENT_UNDERLINE',  '=');
define('ZF_ENVIRONMENT_DELIMITER',  ' => ');

/**
 * Internal calculations
 */
define('ZF_ENVIRONMENT_COLWIDTH',   ZF_ENVIRONMENT_WIDTH - 10 - 1 - ZF_ENVIRONMENT_INSET);
define('ZF_ENVIRONMENT_PADDING',    ZF_ENVIRONMENT_WIDTH - ZF_ENVIRONMENT_COLWIDTH);
define('ZF_ENVIRONMENT_TITLEWIDTH', 10 + ZF_ENVIRONMENT_INSET);

foreach ($this->environment as $this->section) {
    echo $this->render('Text/' . ucwords($this->section->getType()) . '.php');
}




See more files for this project here

Astrum Futura

Multiplayer space strategy game written in PHP5 with the Zend Framework. User interface uses Javascript/AJAX for dynamic interaction. Players compete across a hexagonal map of 10,000 sectors, planets, stars and other locations through trade and combat.

Project homepage: http://sourceforge.net/projects/astrumfutura
Programming language(s): PHP,XML
License: other

  Html/
    Common.php
    Core.php
    Extension.php
    Ini.php
    Os.php
    Security.php
  Text/
    Common.php
    Core.php
    Extension.php
    Ini.php
    Os.php
    Security.php
  Html.php
  Text.php