Added firstPage function and evenPage function to bring Footer Element
in conformity with Header Element
This commit is contained in:
parent
4824985fac
commit
250562ddd6
@ -61,4 +61,24 @@ class Footer extends AbstractContainer
|
|||||||
{
|
{
|
||||||
return $this->type;
|
return $this->type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* First page only footer
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function firstPage()
|
||||||
|
{
|
||||||
|
return $this->type = self::FIRST;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Even numbered pages only
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function evenPage()
|
||||||
|
{
|
||||||
|
return $this->type = self::EVEN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user