@param string $title

@Given /^(?:|I )click (?:|the )"(?P<title>[^"]*)" title on (?:|the )blog post list$/

@return null
559656
public function iClickTheTitleOnTheBlogPostList($title)
    {
        $node = $this->getSession()->getPage()->find('xpath', sprintf('//h2[contains(., "%s")]/a', $title));

        if (is_null($node)) {
            throw new ElementNotFoundException($this->getSession(), 'Blog post title');
        }

        $node->click();
    }
826538
public function setPageName($title)
    {
        $this->oldTitle = $this->pageName;
        $this->pageName = $title;

        if ($this->pageName && $this->getContentRoute()) {
            $this->getContentRoute()->setName($this->pageName);
        }

        return $this;
    }
129502
protected function setterTitle(string $title): string
	{
		$this->translator->set($this->name, $title);
		return $title;
	}
505287
public function setTitle($title) {
		if (is_array($title) && empty($title)) {
			$this->title = new \stdClass;
		} else {
			$this->title = $title;
		}

		return $this;
	}
455679
public static function getRssTitle($title = '')
    {
        $title = esc_html(trim(strip_tags($title)));
        $title = (empty($title)) ? __('Untitled', 'modularity') : $title;

        return $title;
    }
1108883
public function set_pagetitle($title)
    {
        if ($this->config->get('devel_mode') && !empty($_SESSION['username'])) {
            $name = $_SESSION['username'];
        }
        else {
            $name = $this->config->get('product_name');
        }

        $this->command('set_pagetitle', empty($name) ? $title : $name . ' :: ' . $title);
    }
695893
public function setTitle(string $title): self
    {
        if (strlen($title) > 31) {
            $title = mb_substr($title, 0, 31);
        }

        $this->title = $title;

        return $this;
    }
1054572
function set_title($title) {
        global $PAGE;

        $this->page = null;
        $this->title = $title;
        // set_title calls format_string itself so no probs there
        $PAGE->set_title($this->title);
    }
974004
public function iShouldSeeAnIntroductionOfBlogPost($title)
    {
        $post = $this->findPostByTitle($title);
        $excerpt = str_replace('"', '\\"', $post['post_content']);
        $excerptBeforeMore = substr($excerpt, 0, strpos($excerpt, '<!--more-->'));
        $excerptAfterMore = substr($excerpt, strpos($excerpt, '<!--more-->'));

        return array(
            new Then(sprintf('I should see "%s" as an excerpt of the "%s" blog post', $excerptBeforeMore, $title)),
            new Then(sprintf('I should not see "%s" as an excerpt of the "%s" blog post', $excerptAfterMore, $title))
        );
    }
47447
protected static function detectTitle(array $title)
    {
        $assignment = $title['assignment'];
        if ($assignment === null) {
            return;
        }

        $where = array_merge(
            Utils\Utils::arrayWhitelist($title, [
                'assignment',
                'our_number',
                'due',
            ]),
            [
                'ORDER' => [
                    'stamp' => 'DESC',
                    'id' => 'DESC',
                ],
            ]
        );

        $ids = Models\Title::dump($where, 'id');
        if (empty($ids)) {
            return;
        }
        return $ids[0];
    }
771074
public function start($title = null)
    {
        if (!$this->isError) {
            if ($this->state === self::STATE_RUN) {
                $this->pause();
            }

            if ($this->state === self::STATE_STOP) {
                $this->titles = [$title];
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED);
            } elseif ($this->state === self::STATE_PAUSE) {
                $this->titles[] = $title;
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED | XDEBUG_TRACE_APPEND);
            }

            $this->state = self::STATE_RUN;
        }
    }
1342919
public function setTitle($title)
    {
        $returnValue = (bool) false;

        
		$this->title = $title;
		$returnValue = true;
        

        return (bool) $returnValue;
    }
870738
public function set_title($title) {
        $xpath = new \DOMXpath($this);
        $general = $xpath->query(CC::lom_general_xpath)->item(0);
        $new_title = $this->add_child_ns(CC::LOMIMSCC_NS, $general, 'title');
        $new_string = $this->add_child_ns(CC::LOMIMSCC_NS, $new_title, 'string', $title, array("language" => "en-US"));
    }
498112
public function title(string $title)
    {
        $name = config('app.name');

        if (empty($this->subject) && ! is_null($name)) {
            $this->subject(sprintf('[%s] %s', $name, $title));
        }

        $this->title = $title;

        return $this;
    }
626820
public function update_placeholder( $title ) {
		$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null;
		$current_cpt = is_object( $screen ) && property_exists( $screen, 'post_type' )
			? $screen->post_type
			: '';

		if ( $this->post_type === $current_cpt ) {
			$title = $this->label( $this->title_placeholder );
		}
		return $title;
	}
1287725
public function setTitle($title)
	{
		$title = strip_tags($title);

		$this->title_session = $title;

		$this->title = $title . $this->getDefault('separator') . $this->getDefault('title');
	}
473545
public function set_title($title) {
        $title = format_string($title);
        $title = strip_tags($title);
        $title = str_replace('"', '&quot;', $title);
        $this->_title = $title;
    }