コード例 #1
0
ファイル: GWF_Page.php プロジェクト: sinfocol/gwf3
 /**
  * This checks if a user is page owner.
  * @param GWF_User $user
  * @return boolean
  */
 public function isOwner(GWF_User $user)
 {
     return $user->isUser() ? $user->getID() === $this->getVar('page_author') : false;
 }