Pobiera placeholder
@param string $name nazwa
@return string
518086
public function getPlaceholder($name)
    {
        return isset($this->_placeholders[$name]) ? $this->_placeholders[$name] : null;
    }
272785
public function getPost($name){

		//check if null param supplied and return the while POST array
		if($name === null){

			//return the whole array
			return $this->postInputData;

		}

		//check for named paramter
		elseif ($this->KeyExists($name, $this->postInputData)) {
			
			//return the value of this key
			return htmlentities($this->postInputData[$name], ENT_QUOTES);

		}

		//this key does not exists, return bool false
		else{

			//return bool false
			return false;

		}

	}
149213
public function p($name)
    {
        $msg = $this->raw($name);
        if (!$msg) {
            return '';
        }
        return sprintf($this->format, $msg);
    }
393109
public function quoteIdentifier($name)
    {
        $quote = null;
        switch ($this->getAttribute(\PDO::ATTR_DRIVER_NAME)) {
            case 'pgsql':
            case 'sqlsrv':
            case 'dblib':
            case 'mssql':
            case 'sybase':
                $quote = '"';
                break;
            case 'mysql':
            case 'sqlite':
            case 'sqlite2':
            default:
                $quote = '`';
        }

        $parts = explode('.', $name);
        foreach ($parts as $k => $part) {
            if ($part !== '*') {
                $parts[$k] = $quote . $part . $quote;
            }
        }

        return implode('.', $parts);
    }
1265191
public function getSourceContext($name)
    {
        if (!$this->validateCmsObject($name)) {
            return parent::getSourceContext($name);
        }

        $content = $this->obj->getTwigContent();

        /**
         * @event cms.template.processTwigContent
         * Provides an oportunity to modify Twig content before being processed by Twig. `$dataHolder` = {content: $twigContent}
         *
         * Example usage:
         *
         *     Event::listen('cms.template.processTwigContent', function ((\Cms\Classes\CmsObject) $thisObject, (object) $dataHolder) {
         *         $dataHolder->content = "NO CONTENT FOR YOU!";
         *     });
         *
         */
        $dataHolder = (object) ['content' => $content];
        Event::fire('cms.template.processTwigContent', [$this->obj, $dataHolder]);

        return new Twig_Source($dataHolder->content, $name);
    }
1251731
public function lastInsertId($name = null)
    {
        //łączy jeśli niepołączony
        if (!$this->_connected) {
            $this->connect();
        }
        return $this->_upstreamPdo->lastInsertId($name);
    }
708960
public function getPlaceholder($imagestyle_id = null, $absolute = false)
    {
        $placeholder = $this->getPlaceholderPath();
        return $this->getUrl($placeholder, $imagestyle_id, $absolute);
    }
367742
public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
714856
protected function getMigrationFullName($name)
    {
        $folder = '';

        if (Config::organizeMigrations()) {
            $folder = $this->getTableName();
        }

        return $this->getMigrationPath($folder) . DIRECTORY_SEPARATOR . $name . '.php';
    }
55013
private function Value($name)
    {
        $value = Request::PostData($this->prefix . $name);
        return Str::Trim($value);
    }
842688
public function getFlap($name)
    {
        $flap = new Flap($this->adapter, $name);
        if ($this->defaultViolationHandler !== null) {
            $flap->setViolationHandler($this->defaultViolationHandler);
        }
        return $flap;
    }
430425
public function placeholder(string $name, string $value): self
    {
        $this->placeholders[$name] = $value;
        return $this;
    }
1144644
public static function oneByName($name)
	{
		$model = self::all()
			->whereEquals('name', $name)
			->row();

		if (!$model)
		{
			$model = self::blank();
		}

		return $model;
	}
772949
static function laraform($name = null) {
        $el = new ElementDaterangepickerTwbs($name);
        $el->setWrapClass('js-daterangepicker-twbs');
        $el->putTextTwbs('from')->setAttribute('style','display:none');
        $el->putTextTwbs('to')->setAttribute('style','display:none');
        $el->putStaticTwbs('<div class="col-lg-12"><i class="fa fa-calendar"></i>&nbsp;<span></span> <b class="caret"></b></div>');
        //$el->putStaticTwbs('<i class="fa fa-calendar"></i>&nbsp;<span></span> <b class="caret"></b>');
        return $el;
    }
581114
function get_slug( $name = null ) {

        // If no name set use the post type name.
        if ( ! isset( $name ) ) {

            $name = $this->post_type_name;
        }

        // Name to lower case.
        $name = strtolower( $name );

        // Replace spaces with hyphen.
        $name = str_replace( " ", "-", $name );

        // Replace underscore with hyphen.
        $name = str_replace( "_", "-", $name );

        return $name;
    }
686930
public function getLastHeader(string $name) : ?string
    {
        $name = strtolower($name);

        return isset($this->headers[$name]) ? end($this->headers[$name]) : null;
    }
904206
static function laraform($html, $name = null) {
        $el = new ElementStaticTwbs($name ? $name : uniqid());
        $el->setValue($html);

        return $el;
    }