isAnonymousUser() 공개 메소드

public isAnonymousUser ( )
예제 #1
0
 protected function _printHeader()
 {
     $isActive = $this->_helper->isActive() ? $this->__getColoredString("tracking is active", self::TERM_COLOR_GREEN) : $this->__getColoredString("tracking is not active", self::TERM_COLOR_RED);
     $isAnonymous = $this->_helper->isAnonymousUser();
     $user = $this->_helper->getUser();
     $user = $this->__getColoredString("user is " . $user, $isAnonymous ? self::TERM_COLOR_YELLOW : self::TERM_COLOR_GREEN);
     printf("\r\nMageploy v %s - %s - %s\r\n\r\n", $this->__getVersion(), $isActive, $user);
 }
예제 #2
0
 protected function _isAnonymous()
 {
     return $this->_helper->isAnonymousUser();
 }