Adds a Title registry

@param Models\Title $title Contains data for the registry
771788
protected function add(Models\Title $title)
    {
        if ($this->current_lot === 99999) {
            $this->registry_count++;
            $this->current_lot += 2;
            $this->registries[] = $this->generateLotTrailer();
            $this->current_lot = null;
        }

        if ($this->current_lot === null) {
            $this->registry_count++;
            $this->lot_count++;
            $this->current_lot = 0;
            $this->registries[] = $this->generateLotHeader();
        }

        $this->registry_count++;
        $this->current_lot++;

        $this->registries = array_merge(
            $this->registries,
            $this->generateLotDetail($title)
        );
    }
904887
public function handleTitle($title)
    {
        if (is_null($request = $this->getRequest()) || empty($this->titles)) {
            return $title;
        }

        if (in_array($action = $request->get('action'), array_keys($this->titles))) {
            return $this->titles[$action];
        }

        return $title;
    }
461472
protected function setTitle($title)
    {
        if (0 === strlen(trim($title))) {
            throw new \InvalidArgumentException('Provided title cannot be empty');
        }

        $this->title = (string) $title;
    }
641047
public function setTitle($title = null)
    {
        if ($title === null) {
            $this->title = null;
        }
        else {
            $this->title = (string) $title;
        }
        return $this;
    }
836585
public function rename($title)
    {
        if ($this->title !== $title) {
            $oldTitle = $this->title;
            $this->title = $title;

            $this->raise(new Renamed($this, $oldTitle));
        }

        return $this;
    }
234425
public function setTitle($title)
	{
		if ( $title == $this->getTitle() ) { return; }

		$this->_values['title'] = (string) $title;
		$this->setModified();
	}
63644
public function updateTreeTitle(&$title)
    {
        if ($this->owner->AccessAllSubsites) {
            $title = _t(__CLASS__ . '.GlobalGroup', 'global group');
            $title = htmlspecialchars($this->owner->Title, ENT_QUOTES) . ' <i>(' . $title . ')</i>';
        } else {
            $subsites = Convert::raw2xml(implode(', ', $this->owner->Subsites()->column('Title')));
            $title = htmlspecialchars($this->owner->Title) . " <i>($subsites)</i>";
        }
    }
914919
public function title($title)
    {
        if (mb_strlen($title) > 80) {
            throw CouldNotCreateCard::titleLimitExceeded($title);
        }

        $this->payload['title'] = $title;

        return $this;
    }
1143885
function categoryExist($title){
        if(self::where('title',$title)->where('model_type',$this->modelType)->first())
            return true;

        return false;
    }
1195320
public function setTitle(string $title): self
    {
        $this->checkContentType();
        $this->isValidString($title, 20);

        $this->title = $title;

        return $this;
    }
502140
public void addTitle(String title) {
		XmpArray array = new XmpArray(XmpArray.ALTERNATIVE);
		array.add(title);
		setProperty(TITLE, array);
	}
1307139
public function addNewDeployKey(string $title, string $key): array
    {
        return $this->getApi()->request($this->getApi()
                                             ->sprintf('/repos/:owner/:repo/keys', $this->getRepositories()->getOwner(),
                                                 $this->getRepositories()->getRepo()), Request::METHOD_POST, [
                'title' => $title,
                'key'   => $key
            ]);
    }
912246
public function add($identifier, $title)
    {
        $identifier = Inflector::slug($identifier);
        $this->_variations[$identifier] = [
            'title' => $title,
            'cfgs' => [],
            'vars' => [],
            'extras' => [],
            'is_default' => false,
        ];
        $this->_tempIdentifier = $identifier;
        return $this;
    }
1185597
public function addGroupTextAction($title)
	{
		$id = ($s = sizeof($this->group_actions)) ? ($s + 1) : 1;

		return $this->group_actions[$id] = new GroupTextAction($title);
	}
473545
public function set_title($title) {
        $title = format_string($title);
        $title = strip_tags($title);
        $title = str_replace('"', '&quot;', $title);
        $this->_title = $title;
    }
183298
public function add_new_child_item($title='') {
        $sc         = new cc_item();
        $sc->title  = $title;
        $this->add_child_item($sc);
        return $sc;
    }
482850
public function addWorksheet($title)
    {
        $worksheet = $this->workbook->appendChild($this->createElement('Worksheet'));
        $title = preg_replace("/[\\\|:|\/|\?|\*|\[|\]]/", "", $title);
        $title = substr($title, 0, 31);
        $worksheet->setAttribute('ss:Name', $title);
        $worksheet->table = $worksheet->appendChild($this->createElement('Table'));
        $this->worksheets[md5($title)] = $worksheet;
        return $worksheet;
    }