Pimcore\Model\Tool\Qrcode\Config::getName PHP Метод

getName() публичный Метод

public getName ( ) : string
Результат string
    public function getName()
    {
        return $this->name;
    }

Usage Example

Пример #1
0
 public function addAction()
 {
     $success = false;
     $code = Qrcode\Config::getByName($this->getParam("name"));
     if (!$code) {
         $code = new Qrcode\Config();
         $code->setName($this->getParam("name"));
         $code->save();
         $success = true;
     }
     $this->_helper->json(array("success" => $success, "id" => $code->getName()));
 }
All Usage Examples Of Pimcore\Model\Tool\Qrcode\Config::getName