ice framework documentation ice doc v1.6.2
Methods
  • setOptions(variable $options) : void
  • __construct(variable $view, variable $di) : void
    Engine constructor. Set the view and di object.
  • getContent() : string
    Get the view content.
  • load(string $path, array $data) : string
    Load some view.
  • partial(string $path, array $data) : string
    Load some partial view.
  • render(string $path, array $data) : void
    Render some view.
Methods Details
  • public function setOptions(variable $options)

  • public function __construct(variable $view, variable $di)

    Engine constructor. Set the view and di object.
  • public function getContent()

    Get the view content.
  • public function load(string $path, array $data)

    Load some view.
  • public function partial(string $path, array $data)

    Load some partial view.
  • public abstract function render(string $path, array $data)

    Render some view.