Separator.php #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • library/
  • P4Cms/
  • Navigation/
  • Page/
  • Separator.php
  • View
  • Commits
  • Open Download .zip Download (773 B)
<?php
/**
 * Provides a 'seperator' page for menus, this is really intended
 * for the dijit.Menu though it could be used elsewhere.
 *
 * If utilizing P4Cms_Navigation's addPage facility with a hash, entries
 * containing no uri or MVC link details and a label consisting of pure
 * dash '-' characters will become a Separator.
 *
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */
class P4Cms_Navigation_Page_Separator extends P4Cms_Navigation_Page_Heading
{
    /**
     * Always returns a dash ('-') for the separator label.
     *
     * @return  string  page label
     */
    public function getLabel()
    {
        return '-';
    }
}
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/library/P4Cms/Navigation/Page/Separator.php
#1 8972 Matt Attaway Initial add of the Chronicle source code