daux.io/libs/Tree/Content.php
Stéphane Goetz f3d472363d Cleanup
2015-07-20 20:49:14 +02:00

21 regels
391 B
PHP

<?php namespace Todaymade\Daux\Tree;
use Todaymade\Daux\DauxHelper;
class Content extends Entry
{
public $title;
public function __construct($path = '', $parents = array())
{
parent::__construct($path, $parents);
$this->value = $this->uri;
}
protected function getFilename($file)
{
return DauxHelper::pathinfo($file)['filename'];
}
}