Topics

Class Block

Page content block handling

Namespace: Ip

Methods:

__construct( mixed $name )
string render( [ integer $revisionId = 0 ] )

Render page block content

Parameters:

integer $revisionId

Return values:

string
mixed asStatic( )

Make a block content the same on all pages

Return values:

mixed $this
mixed exampleContent( string $content )

Set example content to be used when block content is empty

Parameters:

string $content

Return values:

mixed $this
mixed exampleContentFrom( string $filename )

Load example content from file

Example content should be placed in theme's directory

Parameters:

string $filename

Return values:

mixed $this
comments powered by Disqus